public class MyStrings {
	public static void main(String[] args) {

		String[] args1 = { "Karol", "Czarnecki", "30" };

		for (Integer i = 0; i < args1.length; i++) {
			System.out.println(args1[i]);
		}

		String string = "Karol,Czarnecki,35,6,9,2";

		String[] strings = string.split(",");

		System.out
				.println("Hello " + strings[0].toLowerCase() + " "
						+ strings[1].toUpperCase() + " Your age is "
						+ strings[2] + ".");

		Integer bookTotal = Integer.parseInt(strings[3])
				+ Integer.parseInt(strings[4]) + Integer.parseInt(strings[5]);

		System.out.println("You have " + bookTotal + " books.");
	}
}
